package be.aquafin.klipdf.spatial.dialect;



import org.hibernate.dialect.function.SQLFunctionTemplate;
import org.hibernate.spatial.GeometryType;
import org.hibernate.spatial.dialect.sqlserver.SqlServer2008SpatialDialect;


public class SqlServer2008CustomSpatialDialect extends SqlServer2008SpatialDialect {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	public SqlServer2008CustomSpatialDialect() {
		super();
		this.registerFunction("st_geom_from_text", new SQLFunctionTemplate(GeometryType.INSTANCE, "geometry::STGeomFromText(?1,?2)"));
	
	}
}
